home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / maple / usage < prev   
Text File  |  1994-06-21  |  2KB  |  53 lines

  1. Usage.
  2. ======
  3.  
  4. All code in the share library is kept in single files to simplify usage.
  5. For each file xxxx containing code (the src file) you will find a corresponding
  6. ".m" file, i.e. the file "xxxx.m".  This is a Maple binary file.
  7. Note: ".m" files are not distributed using electronic mail.
  8.  
  9. To use a piece of code in the share library, you must first load it
  10. using the "read" command.  You can load either the src file, or the ".m" file.
  11. To load a src file xxxx, go into Maple and type
  12.  
  13. read xxxx;
  14.  
  15. To load the .m file type
  16.  
  17. read `xxxx.m`;
  18.  
  19. Now you can execute the function(s) in this file.
  20. For packages, after you have loaded them using the read command,
  21. you can then use the with command so that you can use the abbreviated names
  22. for the functions in the package.  I.e. with(xxxx);
  23. For example
  24.  
  25. > read `trans.m`;
  26. > with(trans);
  27.  
  28.  [aitken, eps, gb, lev, ratgen, ratser, rho, rhoit, rich, sidi, theta, thetait]
  29.  
  30.  
  31. Documentation.
  32. ==============
  33.  
  34. Almost all of the codes in the share library (Maple V only) include on-line
  35. help files.  You can access on-line help by typing
  36.  
  37. ?xxxx
  38.  
  39. Note: for some of the larger packages, the on-line help files for the
  40. routines in the package are stored in a separate file to save space.
  41. They must be explicitly loaded before they can be accessed using the
  42. read command.  Look for the files
  43.  
  44. help
  45. help.m
  46.  
  47. in the directory where the package resides.
  48. For some codes there are accompanying LaTeX or plain TeX documents
  49. that contain further documentation and background material on the mathematics
  50. and design of the package.  Additionally, since the share library includes
  51. the Maple src code, if you need or want to know exactly what a routine
  52. is doing, then this is the place to look.
  53.